<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>5.svg绘制矩形与圆形</title>
  <style>
    svg {
      width: 800px;
      height: 600px;
      border: 1px solid #000;
    }
  </style>
</head>
<body>
  <svg>
    <!-- 绘制矩形 -->
    <rect x="100" y="100" width="200" height="200" style='stroke:blue; fill:none'></rect>

    <!-- 绘制圆 -->
    <circle cx='400' cy='200' r='150' style='stroke:orange; fill:none'></circle>

    <!-- 绘制圆形或椭圆 -->
    <ellipse cx="400" cy="400" rx="200" ry="100" style="fill:orangered;"></ellipse>
  </svg>
</body>
</html>